package com.lanswon.qzsmk.model;

import java.io.Serializable;
/**
 * 街镇
 * @author sun
 *
 */
public class AddressStreet implements Serializable {
    /** 主键 */
    private Integer id;

    /** 镇id */
    private Long streetid;

    /** 名称 */
    private String street;

    /** 县级市id */
    private Long fatherid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getStreetid() {
        return streetid;
    }

    public void setStreetid(Long streetid) {
        this.streetid = streetid;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street == null ? null : street.trim();
    }

    public Long getFatherid() {
        return fatherid;
    }

    public void setFatherid(Long fatherid) {
        this.fatherid = fatherid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", streetid=").append(streetid);
        sb.append(", street=").append(street);
        sb.append(", fatherid=").append(fatherid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}